package com.aisafer.fms.consumer;
/*package com.aisafer.oss.mq;

import java.util.Map;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.core.RedisTemplate;

import com.easy.mq.factory.KafkaConfigFactory;

@Configuration
public class MQConfig {
	
	@Resource(name = "consumer")
	Map<String,Object> consumerConfig;
	
	@Autowired
	RedisTemplate<String, String> redisTemplate;
	
	
	@Bean("kafka")
	@org.springframework.core.annotation.Order(3)
	public KafkaConfigFactory kafkaConfigFactory() {
		KafkaConfigFactory kafka = new KafkaConfigFactory(consumerConfig);
		kafka.setRedisTemplate(redisTemplate);
		return kafka;
	}
}
*/